Optimal. Leaf size=193 \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{a}+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{a}+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.154385, antiderivative size = 193, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 7, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.636, Rules used = {275, 211, 1165, 628, 1162, 617, 204} \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{a}+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{a}+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 275
Rule 211
Rule 1165
Rule 628
Rule 1162
Rule 617
Rule 204
Rubi steps
\begin{align*} \int \frac{x}{a+b x^8} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{a+b x^4} \, dx,x,x^2\right )\\ &=\frac{\operatorname{Subst}\left (\int \frac{\sqrt{a}-\sqrt{b} x^2}{a+b x^4} \, dx,x,x^2\right )}{4 \sqrt{a}}+\frac{\operatorname{Subst}\left (\int \frac{\sqrt{a}+\sqrt{b} x^2}{a+b x^4} \, dx,x,x^2\right )}{4 \sqrt{a}}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,x^2\right )}{8 \sqrt{a} \sqrt{b}}+\frac{\operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,x^2\right )}{8 \sqrt{a} \sqrt{b}}-\frac{\operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,x^2\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}-\frac{\operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,x^2\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}\\ &=-\frac{\log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}-\frac{\operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}\\ &=-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{b} x^2}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{3/4} \sqrt [4]{b}}-\frac{\log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}+\frac{\log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x^2+\sqrt{b} x^4\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}}\\ \end{align*}
Mathematica [A] time = 0.0409372, size = 279, normalized size = 1.45 \[ -\frac{-\log \left (-2 \sqrt [8]{a} \sqrt [8]{b} x \sin \left (\frac{\pi }{8}\right )+\sqrt [4]{a}+\sqrt [4]{b} x^2\right )-\log \left (2 \sqrt [8]{a} \sqrt [8]{b} x \sin \left (\frac{\pi }{8}\right )+\sqrt [4]{a}+\sqrt [4]{b} x^2\right )+\log \left (-2 \sqrt [8]{a} \sqrt [8]{b} x \cos \left (\frac{\pi }{8}\right )+\sqrt [4]{a}+\sqrt [4]{b} x^2\right )+\log \left (2 \sqrt [8]{a} \sqrt [8]{b} x \cos \left (\frac{\pi }{8}\right )+\sqrt [4]{a}+\sqrt [4]{b} x^2\right )-2 \tan ^{-1}\left (\frac{\sqrt [8]{b} x \sec \left (\frac{\pi }{8}\right )}{\sqrt [8]{a}}-\tan \left (\frac{\pi }{8}\right )\right )+2 \tan ^{-1}\left (\frac{\sqrt [8]{b} x \sec \left (\frac{\pi }{8}\right )}{\sqrt [8]{a}}+\tan \left (\frac{\pi }{8}\right )\right )+2 \tan ^{-1}\left (\cot \left (\frac{\pi }{8}\right )-\frac{\sqrt [8]{b} x \csc \left (\frac{\pi }{8}\right )}{\sqrt [8]{a}}\right )+2 \tan ^{-1}\left (\frac{\sqrt [8]{b} x \csc \left (\frac{\pi }{8}\right )}{\sqrt [8]{a}}+\cot \left (\frac{\pi }{8}\right )\right )}{8 \sqrt{2} a^{3/4} \sqrt [4]{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 136, normalized size = 0.7 \begin{align*}{\frac{\sqrt{2}}{16\,a}\sqrt [4]{{\frac{a}{b}}}\ln \left ({ \left ({x}^{4}+\sqrt [4]{{\frac{a}{b}}}{x}^{2}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{4}-\sqrt [4]{{\frac{a}{b}}}{x}^{2}\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ) }+{\frac{\sqrt{2}}{8\,a}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({{x}^{2}\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ) }+{\frac{\sqrt{2}}{8\,a}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({{x}^{2}\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.25377, size = 319, normalized size = 1.65 \begin{align*} \frac{1}{2} \, \left (-\frac{1}{a^{3} b}\right )^{\frac{1}{4}} \arctan \left (-a^{2} b x^{2} \left (-\frac{1}{a^{3} b}\right )^{\frac{3}{4}} + \sqrt{x^{4} + a^{2} \sqrt{-\frac{1}{a^{3} b}}} a^{2} b \left (-\frac{1}{a^{3} b}\right )^{\frac{3}{4}}\right ) + \frac{1}{8} \, \left (-\frac{1}{a^{3} b}\right )^{\frac{1}{4}} \log \left (x^{2} + a \left (-\frac{1}{a^{3} b}\right )^{\frac{1}{4}}\right ) - \frac{1}{8} \, \left (-\frac{1}{a^{3} b}\right )^{\frac{1}{4}} \log \left (x^{2} - a \left (-\frac{1}{a^{3} b}\right )^{\frac{1}{4}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.183402, size = 22, normalized size = 0.11 \begin{align*} \operatorname{RootSum}{\left (4096 t^{4} a^{3} b + 1, \left ( t \mapsto t \log{\left (8 t a + x^{2} \right )} \right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23817, size = 252, normalized size = 1.31 \begin{align*} \frac{\sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} \arctan \left (\frac{\sqrt{2}{\left (2 \, x^{2} + \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{8 \, a b} + \frac{\sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} \arctan \left (\frac{\sqrt{2}{\left (2 \, x^{2} - \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{8 \, a b} + \frac{\sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} \log \left (x^{4} + \sqrt{2} x^{2} \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{16 \, a b} - \frac{\sqrt{2} \left (a b^{3}\right )^{\frac{1}{4}} \log \left (x^{4} - \sqrt{2} x^{2} \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{16 \, a b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]